package com.idc.resource.model;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * 基本请求信息
 * Created by Lijing on 2017/7/5.
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
public class BaseReqDto implements Serializable{
    /** 登录令牌 */
    @NotBlank(message = "登录令牌不能为空")
    private String token;
    /** 设备id */
    private String deviceId;
}
